package com.cloudkinto.service.finance.vo.exportVo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/7/7 8:41
 * @description:
 */
@Data
public class OrderInputExcelExportVo implements Serializable {
    /**
     * 业务类型 0出库订单 1 入库订单 2仓储费 3货运费 4清关费
     */
    private Integer type;

    /**
     * 消费时间
     */
    @Excel(name = "消费时间", width = 20, format = "yyyy-MM-dd" , needMerge = true)
    private Date createTime;

    /**
     * 消费内容
     */
    @Excel(name = "消费内容", width = 20 , needMerge = true)
    private String content;


    /**
     * 消费金额
     */
    @Excel(name = "消费金额", width = 20 , needMerge = true)
    private Double costAmount;
    @Excel(name = "公司标识")
    private String companyCode;
    @ExcelCollection(name = "入库单信息")
    private List<OrderInputVo> orderInputVoList;
}
